'use strict';
import {
  TouchableWithoutFeedback
} from 'react-native'
import React from 'react'
import {UI} from '@hyext/hy-ui'
import './wait.hycss'
import './show.hycss'
import IMG from '../../img/img'
import Yz_item_view from './yz_item_view'

const { Text,
  View,
  ScrollView,
  Button,
  Image
} = UI;

const jump = (app)=>{
    app.setState({zt: '0'})
}

const Show = ({state, show_view, jump_m, app}) => {
  return (
    <View className="show_view">
      <View className = ''>
        <Text className = "kj_result">最终结果：</Text>
        <ScrollView >{app.state.show_result_view}</ScrollView>
      </View>
      <Text className = "def">得分排名如下：</Text>
      <View className = "scrol">
        <ScrollView>
          {show_view}
        </ScrollView>
      </View>
      
      <Button className = "btn" onPress = {()=>{jump_m()}}>再来一局</Button>
    </View>
  )
}

export var Jump = jump;
export default Show
